<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/src/utility/yjson.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('yjson_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">yjson.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="yjson_8hpp_source.html">utility/yjson.hpp</a>&quot;</code><br />
<code>#include &lt;json/json.h&gt;</code><br />
<code>#include &lt;fstream&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a20c2d66f6f17a0a16ff92d4258b19ac7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#a20c2d66f6f17a0a16ff92d4258b19ac7">COVERT_POINTER_TO_JSONVALUE_PTR</a>(PTR)&#160;&#160;&#160;    static_cast&lt;Json::Value*&gt;(PTR)</td></tr>
<tr class="separator:a20c2d66f6f17a0a16ff92d4258b19ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae5d1e0c04a1faf040bb4b5059a6d75a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#ae5d1e0c04a1faf040bb4b5059a6d75a8">json_reader</a> (nullptr)</td></tr>
<tr class="separator:ae5d1e0c04a1faf040bb4b5059a6d75a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0529d19eb3723d6c870c344206924050"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#a0529d19eb3723d6c870c344206924050">json_reader_builder</a> (nullptr)</td></tr>
<tr class="separator:a0529d19eb3723d6c870c344206924050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43ee29af204e26f0056aa4eda64f25d2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#a43ee29af204e26f0056aa4eda64f25d2">json_writer</a> (nullptr)</td></tr>
<tr class="separator:a43ee29af204e26f0056aa4eda64f25d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a07c9e15b151de1a269880166520a9b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#a3a07c9e15b151de1a269880166520a9b">json_writer_builder</a> (nullptr)</td></tr>
<tr class="separator:a3a07c9e15b151de1a269880166520a9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a07735db85e8a016fe45fd0c9ee6b21"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#a9a07735db85e8a016fe45fd0c9ee6b21">json_root_value</a> (nullptr)</td></tr>
<tr class="separator:a9a07735db85e8a016fe45fd0c9ee6b21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:af2e07f9e5c39db92b0a8de0f21745adc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classyLib_1_1yJsonValue.html">yLib::yJsonValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yjson_8cpp.html#af2e07f9e5c39db92b0a8de0f21745adc">g_yjson_value_null_reference_obj</a></td></tr>
<tr class="separator:af2e07f9e5c39db92b0a8de0f21745adc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a20c2d66f6f17a0a16ff92d4258b19ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20c2d66f6f17a0a16ff92d4258b19ac7">&#9670;&nbsp;</a></span>COVERT_POINTER_TO_JSONVALUE_PTR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COVERT_POINTER_TO_JSONVALUE_PTR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">PTR</td><td>)</td>
          <td>&#160;&#160;&#160;    static_cast&lt;Json::Value*&gt;(PTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae5d1e0c04a1faf040bb4b5059a6d75a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5d1e0c04a1faf040bb4b5059a6d75a8">&#9670;&nbsp;</a></span>json_reader()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">json_reader </td>
          <td>(</td>
          <td class="paramtype">nullptr&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0529d19eb3723d6c870c344206924050"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0529d19eb3723d6c870c344206924050">&#9670;&nbsp;</a></span>json_reader_builder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">json_reader_builder </td>
          <td>(</td>
          <td class="paramtype">nullptr&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9a07735db85e8a016fe45fd0c9ee6b21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a07735db85e8a016fe45fd0c9ee6b21">&#9670;&nbsp;</a></span>json_root_value()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">json_root_value </td>
          <td>(</td>
          <td class="paramtype">nullptr&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a43ee29af204e26f0056aa4eda64f25d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43ee29af204e26f0056aa4eda64f25d2">&#9670;&nbsp;</a></span>json_writer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">json_writer </td>
          <td>(</td>
          <td class="paramtype">nullptr&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3a07c9e15b151de1a269880166520a9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a07c9e15b151de1a269880166520a9b">&#9670;&nbsp;</a></span>json_writer_builder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">json_writer_builder </td>
          <td>(</td>
          <td class="paramtype">nullptr&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="af2e07f9e5c39db92b0a8de0f21745adc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2e07f9e5c39db92b0a8de0f21745adc">&#9670;&nbsp;</a></span>g_yjson_value_null_reference_obj</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yJsonValue.html">yLib::yJsonValue</a> g_yjson_value_null_reference_obj</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0619a8f54b4fad7043a6de45be8fde0b.html">utility</a></li><li class="navelem"><a class="el" href="yjson_8cpp.html">yjson.cpp</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
